/* SZ3YAN by Sze Yan

   Structure of 1.szeyan_home.css
   |
   ├─ 1. home
   ├─ 2. chooseMe
   ├─ 3. findMe
   ├─ 4. newsletter
     
    /* --------------------------------------------------------------------------
        1. home (heading)
    -------------------------------------------------------------------------- */

    .home__header {
        display: flex;
        align-items: center;
        height: 90vh;
    }
    
    .home__intro {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-flow: dense;
        max-width: 1280px;
        width: 100%;
    }

    .home__greeting {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 420px;
    }

    .home__greeting h2 {
        font-size: 55px;
    }

    .home__greeting p {
        margin-top: 35px;
        max-width: 380px;
    }

    .home__icons {
        display: flex;
        margin-top: 45px;
        margin-bottom: 65px;
    }

    .home__icons .insta {
        width: 24px;
        height: 24px;
        margin-right: 30px;
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/insta.png");
        background-size: 24px;
        background-repeat: no-repeat;
    }

    .home__icons .insta:hover {
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/insta-colour.png");
        transition: all 300ms ease;
    }

    .home__icons .whatsapp {
        width: 24px;
        height: 24px;
        margin-right: 30px;
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/whatsapp.png");
        background-size: 24px;
        background-repeat: no-repeat;
    }

    .home__icons .whatsapp:hover {
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/whatsapp-colour.png");
        transition: all 300ms ease;
    }

    .home__icons .gmail {
        width: 24px;
        height: 24px;
        margin-right: 30px;
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/gmail.png");
        background-size: 24px;
        background-repeat: no-repeat;
    }

    .home__icons .gmail:hover {
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/gmail-colour.png");
        transition: all 300ms ease;
    }

    .home__icons .profile {
        width: 24px;
        height: 24px;
        margin-right: 30px;
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/profile.png");
        background-size: 24px;
        background-repeat: no-repeat;
    }

    .home__icons .profile:hover {
        background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/profile-colour.png");
        transition: all 300ms ease;
    }

    .home__hai {
        padding: 15px 65px;
        border-radius: 100px;
        background-color: var(--blue);
        color: white;
        font-size: 16px;
    }

    .home__screenshot {
        display: flex;
        min-height: 420px;
        justify-content: center;
        align-items: center;
        padding-bottom: 50px;
    }
    
    @media (max-width: 890px) {
        .home__intro {
            grid-template-columns: none;
        }        

        .home__greeting {
            position: relative;
            top: 100px;
            width: 100%;
        }

        .home__icons .insta {
            width: 24px;
            height: 24px;
            margin-right: 30px;
            background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/insta-colour.png");
            background-size: 24px;
            background-repeat: no-repeat;
        }
    
        .home__icons .whatsapp {
            width: 24px;
            height: 24px;
            margin-right: 30px;
            background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/whatsapp-colour.png");
            background-size: 24px;
            background-repeat: no-repeat;
        }
    
        .home__icons .gmail {
            width: 24px;
            height: 24px;
            margin-right: 30px;
            background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/gmail-colour.png");
            background-size: 24px;
            background-repeat: no-repeat;
        }
    
        .home__icons .profile {
            width: 24px;
            height: 24px;
            margin-right: 30px;
            background-image: url("../1. SZ3YAN_design/1. szeyan_home_design/home_icons/profile-colour.png");
            background-size: 24px;
            background-repeat: no-repeat;
        }

        .home__hai {
            position: relative;
            bottom: 35px;
        }

        .home__screenshot img {
            padding-top: 55px;
            width: 45%;
        }
    }

    /* --------------------------------------------------------------------------
        2. chooseMe
    -------------------------------------------------------------------------- */
    
    .chooseMe__header {
        width: 100%;
        background-color: var(--black);
    }
    
    .chooseMe__intro {
        padding-top: 10em;
        margin: auto;
        text-align: center;
        letter-spacing: -.005em; 
        color: white;
    }

    .chooseMe__intro h6 {
        margin-bottom: 10px;
        color: var(--dark-grey);
        text-transform: uppercase;
    }

    .chooseMe__intro h2 {
        font-size: 45px;
        font-weight: 100;
    }
    
    .chooseMe__description {
        padding-top: 10px;
        max-width: 760px;
        margin: auto;
        color: var(--grey);
    }
    
    .chooseMe__description span {
        color: var(--blue);
    }
    
    .chooseMe__moving {
        padding-top: 50px;
        padding-bottom: 100px;
        overflow-x: hidden;
    }
    
    .chooseMe__left, .chooseMe__right {
        display: flex;
        position: relative;
    }

    .chooseMe__left {
        animation: moveleft 300s linear infinite;
    }

    .chooseMe__right {
        animation: moveright 300s linear infinite;
    }

    .chooseMe__right .chooseMe__projectSet1, .chooseMe__right .chooseMe__projectSet2 {
        position: relative;
        left: 500px;
    }

    @keyframes moveleft {
        0% {
            right: 0px
        }

        100% {
            right: 2000px;
        }
    }

    @keyframes moveright {
        100% {
            right: 0px
        }

        0% {
            right: 2000px;
        }
    }

    .chooseMe__projectSet1, .chooseMe__projectSet2 {
        display: grid;
        padding-top: 20px;
        row-gap: 45px;
        column-gap: 40px;
        grid-template-columns: repeat(5, 300px);
    }

    .chooseMe__projectSet2 {
        padding-left: 40px;
    }
    
    .chooseMe__card {
        padding: 20px;
        width: 300px;
        height: 112px;
        border-radius: 10px;
        background-color: var(--bblack);
    }

    .chooseMe__card:active, .chooseMe__card:hover {
        transform: scale(0.98);
    }
    
    .chooseMe__card h4 {
        color: #fff;
    }
    
    .chooseMe__card p {
        color: var(--grey);
    }

    .chooseMe__content {
        display: flex;
        width: 100%;
    }

    .chooseMe__content img {
        margin-right: 10px
    }

    .chooseMe__projects__description h4 {
        font-size: 16px;
    }

    .chooseMe__projects__description p {
        font-size: 16px;
    }

    @media (max-width: 890px) {
        .chooseMe__intro {
            padding-top: 8em;
            padding-left: 26px;
            padding-right: 26px;
        }

        .chooseMe__intro h6 {
            font-size: 16px;
        }

        .chooseMe__intro h2{
            font-size: 36px;
        }

        .chooseMe__description {
            font-size: 16px;
        }

        .chooseMe__moving {
            padding-top: 50px;
            padding-bottom: 50px;
        }

        .mobile, .chooseMe__projects__description, .chooseMe__right {
            display: none;
        }

        .chooseMe__left {
            animation: moveleft 200s linear infinite;
        }

        .chooseMe__card {
            padding: 0;
            width: 100px;
            background-color: transparent;  
        }

        .chooseMe__projectSet1, .chooseMe__projectSet2 {
            padding-top: 20px;
            grid-template-columns: repeat(5, 100px); 
        }

        .chooseMe__card img {
            width: 78px;
            height: 78px;
        }
    }

    /* --------------------------------------------------------------------------
        3. findMe
    -------------------------------------------------------------------------- */

    .findMe__header {
        padding-top: 100px;
        padding-bottom: 200px;
        background-color: var(--black);
    }

    .findMe__intro {
        padding-top: 2.5em;
        text-align: center;
        font-size: 38px;
        font-weight: 600;
        letter-spacing: -.005em;
        color: white;
    }

    .findMe__intro h6 {
        margin-bottom: 10px;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: .05em;
        color: var(--dark-grey);
    }

    .findMe__intro h2 {
        font-size: 45px;
        font-weight: 100;
    }
    
    .findMe__description {
        padding-top: 10px;
        max-width: 500px; 
        margin: auto;
        color: var(--grey);
    }

    .findMe__description span {
        color: var(--blue);
    }

    .findMe__invert {
        padding-top: 150px;
        padding-bottom: 100px;
        text-align: center;
    }

    .findMe__invert a img {
        position: relative;
        z-index: 1;
    }

    .cursor {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        transform: translateX(-50%) translateY(-50%);
        mix-blend-mode: difference;
        background: #fff;
    }

    @media (max-width: 890px) {
        .findMe__intro {
            padding-left: 26px;
            padding-right: 26px;
        }

        .findMe__intro h2 {
            font-size: 36px;
        }

        .findMe__description {
            font-size: 16px;
        }

        .findMe__invert a img {
            width: 30%;
        }
    }

    /* --------------------------------------------------------------------------
        4. newsletter
    -------------------------------------------------------------------------- */

    .newsletter__header {
        height: 100vh;
        background-color: var(--black);
    }

    .newsletter__header .container {
        padding-top: 14%;
    }

    .newsletter__intro {
        padding-top: 2.5em;
        text-align: center;
        font-weight: 100;
        letter-spacing: -.005em;
        color: white;
    }

    .newsletter__intro h6 {
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: .05em;
        font-size: 16px;
        font-weight: 100;
        color: var(--dark-grey);
    }

    .newsletter__intro h2 {
        font-size: 45px;
        font-weight: 100;
    }
    
    .newsletter__description {
        padding-top: 10px;
        padding-bottom: 20px;
        text-align: center;
        font-weight: 100;
        color: var(--grey);
    }

    .newsletter__question {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        max-width: 500px;
        margin: auto;
        margin-bottom: 16px;
        color: white;
    }

    .newsletter__question select {
        display: block;
        width: 100%;
        height: 40px;
        margin-bottom: 16px;
        padding: 0 18px 0 18px;
        border: none;
        border-radius: 20px;
        -webkit-appearance: none;
        line-height: 18px;
        font-size: 14px;
        background: var(--dark-grey);
        color: inherit;
    }

    .newsletter__header button {
        padding: 0 18px;
        height: 30px;
        border-radius: 15px;
        color: white;
        background-color: var(--blue);
    }

    .newsletter__question input {
        display: block;
        width: 100%;
        height: 40px;
        padding: 0 42px 0 18px;
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 18px;
        border: none;
        border-radius: 15px;
        outline: none;
        color: white;
        background: var(--dark-grey);
    }

    .newsletter__question textarea {
        margin-bottom: 16px;
    }

    .newsletter__question input::placeholder, #hishow textarea::placeholder {
        color: white;
    }

    #hishow h4, #colabshow h4 {
        margin-bottom: 20px;
        text-align: center;
    }

    #colabshow, #hishow {
        width: 100%;
    }

    #hishow textarea, #colabshow textarea {
        padding: 14px 18px;
        width: 100%;
        resize: none;
        border: none;
        border-radius: 15px;
        font-size: 14px;
        background-color: var(--dark-grey);
        color: white;
    }
    
    #hishow textarea::placeholder, #colabshow textarea::placeholder {
        color: white;
    }

    @media (max-width: 890px) {
        .newsletter__intro h2{
            font-size: 36px;
        }

        .newsletter__description {
            font-size: 16px;
        }
    }
/*